-- GENERATED SPELL FOR [Dagna Flintlock] --


function spell0_29476(pUnit, Event) --@Shoot Gun,n/a--
pUnit:FullCastSpellOnTarget(61353,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29476', 2000, 1)
end

function Sorts_29476(pUnit, Event)
local choix_sorts_29476 = math.random(0, 0)
if choix_sorts_29476 == 0 then
pUnit:RegisterEvent('spell0_29476', 1, 1)
end
end

function mob29476_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29476', math.random(1500, 3000), 1)
end

function mob29476_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29476_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29476_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29476, 1, 'mob29476_Action')
RegisterUnitEvent(29476, 2, 'mob29476_Leave')
RegisterUnitEvent(29476, 3, 'mob29476_Kill')
RegisterUnitEvent(29476, 4, 'mob29476_Die')
